home *** CD-ROM | disk | FTP | other *** search
/ Java for 3D & VRML Worlds / Java for 3d and VRML Worlds.iso / examples / chap02 / wheel.wrl < prev   
Text File  |  1996-10-17  |  2KB  |  84 lines

  1. #VRML V2.0 utf8
  2.  
  3. # This file is converted using vrml1to2 version 1.6
  4. # This converter is based on Final VRML2.0 - August 4, 1996.
  5. # This converter is provided by Sony.
  6.  
  7. Transform {
  8.     children [
  9.         DirectionalLight {
  10.             on FALSE
  11.         }
  12.         Shape {
  13.             appearance Appearance {
  14.                 material Material {
  15.                     ambientIntensity 0.116667
  16.                     diffuseColor     1 0 0.4
  17.                 }
  18.             }
  19.             geometry IndexedFaceSet {
  20.                 coord Coordinate {
  21.                     point [
  22.                         -0.437373 0.087002 -0.304801,
  23.                         -0.808159 0.334762 -0.304801,
  24.                         -1.05591 0.705561 -0.304801,
  25.                         -1.14291 1.14295 -0.304801,
  26.                         -1.05591 1.58034 -0.304801,
  27.                         -0.808159 1.95113 -0.304801,
  28.                         -0.437373 2.19889 -0.304801,
  29.                         0 2.2859 -0.304801,
  30.                         0.437373 2.19889 -0.304801,
  31.                         0.808159 1.95113 -0.304801,
  32.                         1.05591 1.58034 -0.304801,
  33.                         1.14291 1.14295 -0.304801,
  34.                         1.05591 0.705561 -0.304801,
  35.                         0.808159 0.334762 -0.304801,
  36.                         0.437373 0.087002 -0.304801,
  37.                         0 0 -0.304801,
  38.                         0 0 -0.1524,
  39.                         -0.437373 0.087002 -0.1524,
  40.                         0.437373 0.087002 -0.1524,
  41.                         0.808159 0.334762 -0.1524,
  42.                         1.05591 0.705561 -0.1524,
  43.                         1.14291 1.14295 -0.1524,
  44.                         1.05591 1.58034 -0.1524,
  45.                         0.808159 1.95113 -0.1524,
  46.                         0.437373 2.19889 -0.1524,
  47.                         0 2.2859 -0.1524,
  48.                         -0.437373 2.19889 -0.1524,
  49.                         -0.808159 1.95113 -0.1524,
  50.                         -1.05591 1.58034 -0.1524,
  51.                         -1.14291 1.14295 -0.1524,
  52.                         -1.05591 0.705561 -0.1524,
  53.                         -0.808159 0.334762 -0.1524
  54.                     ]
  55.                 }
  56.                 coordIndex [
  57.                     0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, -1,
  58.                     16, 17, 0, 15, -1,
  59.                     18, 16, 15, 14, -1,
  60.                     19, 18, 14, 13, -1,
  61.                     20, 19, 13, 12, -1,
  62.                     21, 20, 12, 11, -1,
  63.                     22, 21, 11, 10, -1,
  64.                     23, 22, 10, 9, -1,
  65.                     24, 23, 9, 8, -1,
  66.                     25, 24, 8, 7, -1,
  67.                     26, 25, 7, 6, -1,
  68.                     27, 26, 6, 5, -1,
  69.                     28, 27, 5, 4, -1,
  70.                     29, 28, 4, 3, -1,
  71.                     30, 29, 3, 2, -1,
  72.                     31, 30, 2, 1, -1,
  73.                     17, 31, 1, 0, -1,
  74.                     16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 17, -1
  75.                 ]
  76.                 normalPerVertex FALSE
  77.                 ccw             FALSE
  78.                 creaseAngle     0.5
  79.             }
  80.         }
  81.     ]
  82. }
  83.  
  84.